<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户注册测试页面</title>
</head>
<body>
<p>用户注册</p>
<section>
    <div >
        <div >
            <h1 >用户注册</h1>
            <!-- <p>输入您的电子邮件地址和密码以访问管理面板。</p>
             指定表单提交时发送的请求地址-->
            <form  th:action="@{/user/register}" method="post">

                <div class="form-group">
                    <label class="col-sm-3 control-label">用户名：</label>
                    <div class="col-sm-8">
                        <input name="userName" class="form-control" type="text">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">密码：</label>
                    <div class="col-sm-8">
                        <input name="userPassword" class="form-control" type="text">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">联系电话：</label>
                    <div class="col-sm-8">
                        <input name="userTel" class="form-control" type="text">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">性别：</label>
                    <div class="col-sm-8">
                        <input name="userGender" class="form-control" type="text">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">邮箱：</label>
                    <div class="col-sm-8">
                        <input name="userEmail" class="form-control" type="text">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">出生日期</label>
                    <div class="col-sm-8">
                        <div class="input-group date">
                            <input name="userBirthday" class="form-control" placeholder="yyyy-MM-dd" type="text">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        </div>
                    </div>
                </div>
                <div  style="padding: 10px 0">

                    <button type="submit" class="btn btn-primary float-right">登录</button>
                </div>

            </form>
        </div>
    </div>
</section>
</body>
</html>